home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of Education
/
World of Education.iso
/
world_d
/
drfinfo.zip
/
AUTOEXEC.BAT
next >
Wrap
DOS Batch File
|
1993-04-09
|
673b
|
24 lines
ECHO OFF
REM See if the CMOS has changed
CMOSCHK CMOS.286
IF ERRORLEVEL 1 GOTO REST_CMOS
GOTO CHECK_MBR
:REST_CMOS
REM CMOS is does not match stored copy. Ask if it should be restored
ECHO The CMOS does not match the stored copy for the 286, do you want to restore
ECHO the CMOS settings from backup? (Yes / any other key)
GETCHAR
IF ERRORLEVEL 121 GOTO CHECK_HIGH
REM GETCHAR returns lowercase letter hit. 121 is y
GOTO CHECK_MBR
:CHECK_HIGH
REM Check for z
IF ERRORLEVEL 122 GOTO CHECK_MBR
CMOSREST CMOS.286
ECHO Press the Reset button at this time to reboot this disk.
:WAIT4RESET
GOTO WAIT4RESET
:CHECK_MBR
REM Now check the MBR and EPBRs
PUTMBR